-
Notifications
You must be signed in to change notification settings - Fork 1.2k
chore(app): update several components #2756
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Hmm... it looks like this one is crashing the continuous integration. Not sure quite why... |
fc7bb79
to
e1a1954
Compare
I would assume this is why: https://github.com/mochajs/mocha/blob/master/CHANGELOG.md#default-behavior |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Take the package-lock.json changes out. I prefer to only make those changes for releases.
daba839
to
6dca3c5
Compare
Agh the mocha changes mean this is going to be slightly less simple. I guess I'll take another look tomorrow |
Yeah, just need to make sure the servers shut down after all the tests are complete. I really appreciate all of the contributions! |
No thank you for the generator. I'm yak shaving before I actually use the generator properly. |
Haha 'yak shaving', that's a new one
…On Tue, Jul 24, 2018, 14:11 zeripath ***@***.***> wrote:
No thank you for the generator. I'm yak shaving before I actually use the
generator properly.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#2756 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFSeAnZF27F4R-Dl7uomsETLyCPjoEAYks5uJ42EgaJpZM4VdPN5>
.
|
@Awk34 So I'm still having difficulty figuring out what's causing this problem. Looking at I've tried sticking in delays etc. I can't even see which test is causing a restart of the express server... This is quite frustrating... |
@zeripath my assumption about what's breaking this could be wrong. Perhaps we should test with Mocha 3.5.3 to make sure it still passes, then with 4.0.0 to make sure it starts failing. |
If it is breaking because of what I think, then the proper investigation path would be to attach some debugger to be able to see what's keeping the process alive after the tests are done |
Ah I think I've found it. In src/test/main.test.js:151: (amongst others)
This causes a race somewhere in creating the express server. If these are moved out into their respective I haven't yet checked whether doing this changes the results of the serverTestResult... (i.e. is it still run in the correct directory.) |
Hmm okay, I can see that causing issues. I did this to start the test commands so that they'd run in parallel and hopefully save time. Hopefully separating the server test command won't add too much time to the test runs. |
6dca3c5
to
cb64c6c
Compare
Cool. It looks like I've done it! (The package-lock.json change that creeped in by accident has been removed too. ) |
I think this patch might also fix issue #2746 |
Part of #2691
generator-angular-fullstack$ npm test
)